﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace HotelManageSystem.Models
{
    public class ProductInfoModel
    {
        [Key]
        public int ID { get; set; }

        public string DetailNumber { get; set; }

        [Required]
        public string Name { get; set; }

        public decimal Price { get; set; }

        public decimal PriceOut { get; set; }
        
        public int Count { get; set; }//库存量

        public string Remark { get; set; }


        //以下是消费信息

        public int ProductCount { get; set; }//数量

        public decimal ProductCost { get; set; }//该货品总价

        public int SumAccount { get; set; }//总价

        public DateTime ConsumeDate { get; set; }

        public string RoomName { get; set; }
    }
}